package com.ll.beautymall.bean;

import java.io.Serializable;
import java.util.HashMap;

/**
 * Created by Administrator on 2016/10/20.
 * 指明每个条目有哪些内容
 */
public class Content implements Serializable {

    /**
     * content_type : banner_list
     * request_parameters : [{"key":"mid","value":"457465"}]
     * url_type : gmall
     * request_url : home/banner_list.php
     */

    private String content_type;
    private String url_type;
    private String request_url;
    private HashMap<String, String> request_paramters;

    public Content() {
    }

    public Content(String content_type, String url_type, String request_url, HashMap<String, String> request_paramters) {
        this.content_type = content_type;
        this.url_type = url_type;
        this.request_url = request_url;
        this.request_paramters = request_paramters;
    }

    public HashMap<String, String> getRequest_paramters() {
        return request_paramters;
    }

    public void setRequest_paramters(HashMap<String, String> request_paramters) {
        this.request_paramters = request_paramters;
    }

    /**
     * key : mid
     * value : 457465
     */


    public String getContent_type() {
        return content_type;
    }

    public void setContent_type(String content_type) {
        this.content_type = content_type;
    }

    public String getUrl_type() {
        return url_type;
    }

    public void setUrl_type(String url_type) {
        this.url_type = url_type;
    }

    public String getRequest_url() {
        return request_url;
    }

    public void setRequest_url(String request_url) {
        this.request_url = request_url;
    }

    @Override
    public String toString() {
        return "Content{" +
                "content_type='" + content_type + '\'' +
                ", url_type='" + url_type + '\'' +
                ", request_url='" + request_url + '\'' +
                ",request_paramters" + request_paramters +
                '}';
    }
}
